<template>
	<view class="">
		<view style="">
			<uni-list >
				<uni-list-item title="修改密码" link @click="doPassword" ></uni-list-item>
				<uni-list-item title="退出登录" link @click="outLogin" ></uni-list-item>
			</uni-list>
		</view>
	</view>
</template>

<script>
	
	export default {
		
		data() {
			return {
				
			};
		},
		components: {
		},
		onLoad(options) {
			// 初始化页面
		},
		methods: {
			outLogin: function(){
				try {
				    uni.removeStorageSync('tokey');
				} catch (e) {
				    // error
				}
				uni.navigateTo({
				    url: '/pages/index/login'
				});
			},
			
			doPassword(){
				uni.navigateTo({
				    url: '/pages/index/set_password'
				});
			},
			
		}
	}
</script>

<style>
	
</style>
